package com.wind.taobao.api.trade.item.rest
{
	import com.wind.taobao.core.exception.InvalidRequestParametersException;
	import com.wind.taobao.core.util.TaobaoUtils;
	import com.wind.taobao.core.webservice.TaobaoRequest;

	/**
	 * taobao.item.recommend.delete Request
	 * @author fxy
	 *
	 */
	public class ItemRecommendDeleteRequest extends TaobaoRequest
	{
		public override function get method():String
		{
			return "taobao.item.recommend.delete"
		}
		/**
		 * Y 	 需要取消橱窗推荐的商品id（32位字符id）
		 */
		[Bindable]
		public var iid:String;

		public override function validate():void
		{
			if (!TaobaoUtils.hasAllValue([iid]))
			{
				throw new InvalidRequestParametersException("请求参数[iid]不能为空");
			}
		}
	}
}